import http from '@/utils/http'

/**
 * 查询商品详情
 * @param {String} id 
 * @returns 
 */
export const getGoodsDetail = id => http.get('/goods',{id})

/**
 * 同类推荐(也支持猜你喜欢)
 * @param {String} id 
 * @returns 
 */
export const getGoodsRelevant = id => http.get('/goods/relevant',{id})